Sabberworm\CSS\ParserTest B

Total Complexity 89
Dependencies 11
Dependents 0
Total lines 573
Lines of code 478
Logical lines of code 309
Comment lines 46
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
testUnicodeParsing()
A
44 14 46
testLineNumbersParsing()
A
45 7 40
testFunctionSyntax()
A
52 8 23
testSpecificity()
S
50 7 28
testFiles()
S
52 7 23
testColorParsing()
S
46 6 37
testManipulation()
S
46 5 51
testSlashedValues()
S
49 6 30
testListValueRemoval()
S
53 5 25
testCommentExtracting()
S
53 1 24
testRuleGetters()
S
56 1 18
testUnexpectedTokenExceptionLineNo()
S
65 2 9
testSelectorRemoval()
S
61 1 13
testCharsetFailure2()
S
79 1 3
parsedStructureForFile()
S
71 1 5
testIeHacksParsing()
S
72 1 5
testIeHacksStrictParsing()
S
80 1 3
testCharsetLenient2()
S
72 1 5
testFlatCommentExtracting()
S
64 1 9
testCharsetFailure1()
S
79 1 3
testUrlInFile()
S
70 1 6
testCharsetLenient1()
S
72 1 5
testEmptyFileMbOff()
S
72 1 5
testEmptyFile()
S
72 1 5
testUrlInFileMbOff()
S
70 1 6
testComments()
S
70 1 7
testPrefixedGradient()
S
73 1 5
testInnerColors()
S
73 1 5
testNamespaces()
S
66 1 10
testCreateShorthands()
S
67 1 8
testExpandShorthands()
S
67 1 8
testTopLevelCommentExtracting()
S
66 1 8